package com.zhirong.core.service.impl;

import com.zhirong.core.dao.AdminDao;
import com.zhirong.core.dao.ICommonDao;
import com.zhirong.core.entity.Admin;
import com.zhirong.core.service.AdminService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("adminService")
@Slf4j
public class AdminServiceImpl extends AbsCommonService<Admin, Integer> implements AdminService {

    @Autowired
    private AdminDao adminDao;

    @Override
    public ICommonDao<Admin, Integer> getDao() {
        return adminDao;
    }

}
